// Sidebar
$primary-color: #4285f4 !default;
$base-bg: #2a2a2e !default;

$item-color: #fff !default;

$item-active-color: $item-color !default;

$item-open-color: $item-color !default;
$item-open-bg: $primary-color !default;

$item-hover-color: $item-color !default;
$item-hover-bg: rgba(lighten($base-bg, 25%), 0.5) !default;

$icon-color: $item-color !default;
$icon-bg: darken($base-bg, 5%) !default;

$icon-active-color: $item-color !default;
$icon-active-bg: $icon-bg !default;

$icon-open-color: $item-color !default;
$icon-open-bg: $primary-color !default;

$mobile-item-color: $item-color !default;
$mobile-item-bg: $primary-color !default;
$mobile-icon-color: $mobile-item-color !default;
$mobile-icon-bg: $mobile-item-bg !default;

$dropdown-bg: lighten($base-bg, 5%) !default;
$dropdown-color: $item-color !default;

$item-font-size: 0.95rem !default;
$item-line-height: 25px !default;
$item-padding: 10px 10px 10px 30px !default;
$icon-height: 30px !default;
$icon-width: 30px !default;
$header-height: 80px !default;

.navi {
  * {
    box-sizing: border-box;
  }

  &:before {
    opacity: 0.08;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    z-index: -1; /*-1 可以当背景*/
  }

  @for $i from 1 through 8 {
    &.navi-bg0#{$i}:before {
      background-image: url("~@/assets/img/0#{$i}.jpg");
    }
  }

  font-family: "Montserrat", "Segoe UI", "Roboto", "Arial", "sans-serif";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 250px;
  height: 100vh;
  color: #000;
  transition: max-width 0.35s;
  -moz-transition: max-width 0.35s; /* Firefox 4 */
  -webkit-transition: max-width 0.35s; /* Safari 和 Chrome */
  -o-transition: max-width 0.35s; /* Opera */
  z-index: 1000;
  box-shadow: 2px 10px 30px 0 rgba(0, 0, 0, 0.42),
    0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
  //background-image: linear-gradient(45deg, #f3904f, #3b4371);
  background-repeat: repeat-x;

  .navi-hd {
    font-size: 14px;
    font-weight: 600;
    padding: 18px 15px 18px 15px;
    height: 80px;
    white-space: nowrap;
    text-transform: uppercase;
    img {
      height: 100%;
      width: 100%;
      vertical-align: bottom;
    }
    span {
      text-transform: uppercase;
      font-size: 1.3rem;
      letter-spacing: 2px;
      color: #fff !important;
      text-align: left;
      font-weight: 400;
      width: 70%;
    }
  }
  .v-list-group__items {
    .v-list-item__action i {
      font-size: 19px;
      padding-left: 3px;
    }
    .v-list-item__title {
      font-size: 0.9rem;
    }
  }
}
